Socket
Socket
Sign inDemoInstall

crossws

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crossws

Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers


Version published
Weekly downloads
747K
decreased by-20.07%
Maintainers
1
Weekly downloads
 
Created
Source

⛨ CrossWS

npm version npm downloads

Elegant, typed, and simple interface to implement platform-agnostic WebSocket servers.

👉 📖 documentation

Features

🧩 Seamlessly integrates with, Bun, Deno, Cloudflare Workers and Node.js (ws || uWebSockets).

🚀 High-performance server hooks, avoiding heavy per-connection events API (why)

📦 No external dependencies, includes ws for Node.js support

💡 Extremely lightweight and tree-shakable packaging with ESM and CJS support

🔍 Developer-friendly object logging

[!IMPORTANT] This project and API are under development.

Contribution

Local development
  • Clone this repository
  • Install the latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run examples using pnpm play: scripts

License

Published under the MIT license. Made by @pi0 and community 💛


🤖 auto updated with automd

FAQs

Package last updated on 26 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc